package com.example.medicalzb.mapper;

import com.example.medicalzb.domain.City;
import com.example.medicalzb.entity.CityEntity;
import com.example.medicalzb.model.CityModel;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CityMapper {
    List<CityModel> getAllCity(String name);

    City getCityById(Integer id);

    Integer checkCityByNumber(Integer cityNumber);

    int saveCity(CityEntity cityEntity);

    int deleteCityById(Integer id);
}
